<template>
<div class="box">
      <div class="card_header">
        <span>
         {{title}}
        </span>
        <i class="el-icon-info"></i>
      </div>
      <div class="card_main">{{msg}}</div>
      <div class="card_content">
        <slot name='mainmsg'></slot>
      </div>
      <div class="card_footer">
        <slot name='footermsg'></slot>
      </div>
      
</div>
</template>

<script>
export default {
    props:['title','msg']
}
</script>

<style>
.box{
    width: 800px;
}
.card_header{
    color: #9d9d9d;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
}
.card_main{
    font-size: 20px;
   
}
.card_content{
    height: 40px;
    font-size: 12px;
    line-height: 40px;
    width:25%;
}
.card_footer{
    border-top:1px solid rgb(225, 222, 222);
    font-size: 14px;
    color: #797979;
    padding:10px 0;
    height: 20px;
}
</style>